/***************************************************************
*  Copyright (c) 2007 by GroupMe! Team (www.groupme.net)
*  All rights reserved.
*
*  This file is part of the GroupMe! Project. Source code of 
*  this project is closed and redistribution of this code is
*  prohibited. 
*  
*  Contact: http://www.groupme.net
*
*  This copyright notice MUST APPEAR in all copies of the file!
***************************************************************/
package net.groupme.user;

/**
 * created on Jun 21, 2007 
 * 
 * This enum defines messages that are returned by the {@link UserManager} and
 * that indicate the result of a performed action.
 * 
 * @author  Fabian Abel, <a href="mailto:abel@l3s.de">abel@l3s.de</a>
 * @author last edited by $Author: fabian $
 * 
 * @version $Revision: 1.3 $ $Date: 2007-06-22 00:54:29 $
 */
public enum UserManagerMessages {

	/**	indicates that the username is already stored within the data store */
	USERNAME_ALLREADY_EXISTS,
	
	/**	indicates that the username does not exist in the data store */
	USERNAME_DOES_NOT_EXISTS,
	
	/** password does not suit the given username */
	PASSWORD_INCORRECT,
	
	/** login was successful */
	LOGIN_SUCCESSFUL,
	
	/** registration was successful */
	REGISTRATION_SUCCESSFUL,
	
	/** update (of user details) was successful */
	UPDATE_SUCCESSFUL,
	
	/** update or insert of user data failed (because of problems at the data stor backend) */
	UPDATE_OR_INSERT_FAILED;	
	
}
